package com.tjec.project.projectWorkbench.service.impl;

import java.util.List;
import java.util.Set;

import com.tjec.project.projectWorkbench.domain.BmsMdEngineeringCategory;
import com.tjec.project.projectWorkbench.domain.BmsMdPerformanceKeyword;
import com.tjec.project.projectWorkbench.domain.BmsMdProjectIndicator;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.tjec.project.projectWorkbench.mapper.BmsMdEngineeringKeywordIndicatorRefMapper;
import com.tjec.project.projectWorkbench.domain.BmsMdEngineeringKeywordIndicatorRef;
import com.tjec.project.projectWorkbench.service.IBmsMdEngineeringKeywordIndicatorRefService;

/**
 * 工程类别、关键字、指标项关联关系 Service业务层处理
 * 
 * @author cjj
 * @date 2020-05-14
 */
@Service
public class BmsMdEngineeringKeywordIndicatorRefServiceImpl implements IBmsMdEngineeringKeywordIndicatorRefService 
{
    @Autowired
    private BmsMdEngineeringKeywordIndicatorRefMapper bmsMdEngineeringKeywordIndicatorRefMapper;
    /**
     * 查询工程类别、关键字、指标项关联关系 列表
     * 
     * @param bmsMdEngineeringKeywordIndicatorRef 工程类别、关键字、指标项关联关系 
     * @return 工程类别、关键字、指标项关联关系 
     */
    @Override
    public List<BmsMdEngineeringKeywordIndicatorRef> selectBmsMdEngineeringKeywordIndicatorRefList(BmsMdEngineeringKeywordIndicatorRef bmsMdEngineeringKeywordIndicatorRef)
    {
        return bmsMdEngineeringKeywordIndicatorRefMapper.selectBmsMdEngineeringKeywordIndicatorRefList(bmsMdEngineeringKeywordIndicatorRef);
    }

    /**
     * 查询工程类别 列表
     *
     * @param bmsMdEngineeringCategory 工程类别
     * @return 工程类别 集合
     */
    public List<BmsMdEngineeringCategory> selectBmsMdEngineeringCategoryList(BmsMdEngineeringCategory bmsMdEngineeringCategory){
        return bmsMdEngineeringKeywordIndicatorRefMapper.selectBmsMdEngineeringCategoryList(bmsMdEngineeringCategory);
    };

    /**
     * 查询业务推荐关键字 列表
     *
     * @param bmsMdPerformanceKeyword 业务推荐关键字
     * @return 业务推荐关键字 集合
     */
    public List<BmsMdPerformanceKeyword> selectBmsMdPerformanceKeywordList(BmsMdPerformanceKeyword bmsMdPerformanceKeyword){
        return bmsMdEngineeringKeywordIndicatorRefMapper.selectBmsMdPerformanceKeywordList(bmsMdPerformanceKeyword);
    };

    /**
     * 查询项目指标 列表
     *
     * @param bmsMdProjectIndicator 项目指标
     * @return 项目指标集合
     */
    public List<BmsMdProjectIndicator> selectBmsMdProjectIndicatorList(BmsMdProjectIndicator bmsMdProjectIndicator){
        return bmsMdEngineeringKeywordIndicatorRefMapper.selectBmsMdProjectIndicatorList(bmsMdProjectIndicator);
    }

    /**
     * 查询项目指标 列表
     * @param engineeringIds 项目指标
     * @return
     */
    @Override
    public List<BmsMdEngineeringKeywordIndicatorRef> selectBmsMdEngineeringKeywordIndicatorRefListByEngineeringIds(Set<String> engineeringIds) {
        return bmsMdEngineeringKeywordIndicatorRefMapper.selectBmsMdEngineeringKeywordIndicatorRefListByEngineeringIds(engineeringIds);
    }

    /**
     * 查询项目指标 列表
     * @param performanceKeywordIds 项目指标
     * @return
     */
    @Override
    public List<BmsMdEngineeringKeywordIndicatorRef> selectBmsMdEngineeringKeywordIndicatorRefListByPerformanceKeywordIds(Set<String> performanceKeywordIds) {
        return bmsMdEngineeringKeywordIndicatorRefMapper.selectBmsMdEngineeringKeywordIndicatorRefListByPerformanceKeywordIds(performanceKeywordIds);
    }

	@Override
	public List<BmsMdEngineeringKeywordIndicatorRef> selectDefaultIndicatorRefList() {
		// TODO Auto-generated method stub
		return bmsMdEngineeringKeywordIndicatorRefMapper.selectDefaultIndicatorRefList();
	}

    ;
}
